# 模块名称
set(MODULE settings)

aux_source_directory(.  DIRSRCS)
add_library(${MODULE} ${DIRSRCS})
target_include_directories(${MODULE} PUBLIC ${TINYXML2_INCLUDE_DIR})
target_link_directories(${MODULE} PUBLIC ${TINYXML2_LIBS_DIR})
target_link_libraries(${MODULE} tinyxml2  utils)

install(TARGETS ${MODULE}
        DESTINATION lib/
        PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ)